// 定义小仓库数据state类型
import type { RouteRecordRaw } from 'vue-router'
import type { ProductCate, Attr } from '@/api/product/attr/type'
export interface UserState {
    token: string | null;
    menuRoutes: RouteRecordRaw[];
    username: string;
    avatar: string;
}

export interface CategoryState {
    c1Arr: Array<ProductCate>,
    c2Arr: Array<ProductCate>,
    c3Arr: Array<ProductCate>,
    attrList: Array<Attr>,
    c1Id: string|number,
    c2Id: string|number,
    c3Id: string|number
}